package com.heima.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.crm.pojos.entity.TbRoleDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CrRoleDetailsMapper extends BaseMapper<TbRoleDetails> {
    @Select("select * from tb_role_details where role_id = #{roleId}")
    List<TbRoleDetails> selectRoleDetails(@Param("roleId") Long roleId);
}
